package cn.stylefeng.guns.modular.order.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.order.entity.OrderClientVolDetail;
import cn.stylefeng.guns.modular.order.model.params.OrderClientVolDetailParam;
import cn.stylefeng.guns.modular.order.model.result.OrderClientVolDetailResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 新零帮出库汇总 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-06-25
 */
public interface OrderClientVolDetailService extends IService<OrderClientVolDetail> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
    void add(OrderClientVolDetailParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
    void delete(OrderClientVolDetailParam param);


    void deleteBySpec(OrderClientVolDetailParam param);



    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
    void update(OrderClientVolDetailParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
    OrderClientVolDetailResult findBySpec(OrderClientVolDetailParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
    List<OrderClientVolDetailResult> findListBySpec(OrderClientVolDetailParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-25
     */
     LayuiPageInfo findPageBySpec(OrderClientVolDetailParam param, String condition);

}
